//
//  BLInfoSliderCell.h
//  Byelone
//
//  Created by 乔小乔 on 2021/2/27.
//

#import <UIKit/UIKit.h>
#import "DoubleSliderView.h"
typedef void (^BLSliderBlock)(NSString *min,NSString *max);
NS_ASSUME_NONNULL_BEGIN

@interface BLInfoSliderCell : UITableViewCell
@property (unsafe_unretained, nonatomic) IBOutlet UILabel *labelTitle;
@property (unsafe_unretained, nonatomic) IBOutlet UIView *viewBj;
@property (unsafe_unretained, nonatomic) IBOutlet UIView *viewLine;
@property (nonatomic, strong) DoubleSliderView *doubleSliderView;

@property (nonatomic, assign) NSInteger minAge;
@property (nonatomic, assign) NSInteger maxAge;
@property (nonatomic, assign) NSInteger curMinAge;
@property (nonatomic, assign) NSInteger curMaxAge;
@property (nonatomic, strong) NSString *unit;

@property (nonatomic, copy) BLSliderBlock myBlock;
- (void)reloadWithModel:(NSString *)title min:(NSInteger)minAge max:(NSInteger)maxAge curMin:(NSInteger)curMin curMax:(NSInteger)curMax unit:(NSString *)unit;
@end

NS_ASSUME_NONNULL_END
